package dao;

import entity.Employee;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface EmployeeDao {
    public void create(Employee employee);
    public List<Employee> findAll();
    public Employee findById(Long id);
    public void update(Employee employee);
    public void deleteById(Long id);
}
